All Packages Class Hierarchy This Package Previous Next Index
Class java.naming.directory.InvalidAttributeValueException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.naming.NamingException
|
+----java.naming.directory.DSException
|
+----java.naming.directory.InvalidAttributeValueException
- public class InvalidAttributeValueException
- extends DSException
InvalidAttributeValueException is raised when an attempt is
made to add to an attribute a value that conflicts with the attribute's
schema definition. This could happen, for example, if attempting
to add an attribute with no value when the attribute is required
to have at least one value, or if attempting to add more than
one value to a single valued-attribute, or if attempting to
add a value that conflicts with the syntax of the attribute.
-
InvalidAttributeValueException()
- Constructs a new instance of InvalidAttributeValueException.
-
InvalidAttributeValueException(Name, Object, Name)
- Constructs a new instance of InvalidAttributeValueException using the
arguments supplied.
-
InvalidAttributeValueException(Name, Object, Name, String)
- Constructs a new instance of InvalidAttributeValueException using the
arguments supplied.
-
InvalidAttributeValueException(String)
- Constructs a new instance of InvalidAttributeValueException using the
arguments supplied.
InvalidAttributeValueException
public InvalidAttributeValueException(Name resolvedName,
Object resolvedObj,
Name remainingName,
String explanation)
- Constructs a new instance of InvalidAttributeValueException using the
arguments supplied.
- Parameters:
- resolvedName - The part of the name that has been successfully resolved.
- resolvedObj - The object to which resolution was successful.
- remainingName - The remaining unresolved portion of the name.
- explanation - Additional detail about this exception.
InvalidAttributeValueException
public InvalidAttributeValueException(Name resolvedName,
Object resolvedObj,
Name remainingName)
- Constructs a new instance of InvalidAttributeValueException using the
arguments supplied.
- Parameters:
- resolvedName - The part of the name that has been successfully resolved.
- resolvedObj - The object to which resolution was successful.
- remainingName - The remaining unresolved portion of the name.
InvalidAttributeValueException
public InvalidAttributeValueException(String explanation)
- Constructs a new instance of InvalidAttributeValueException using the
arguments supplied.
- Parameters:
- explanation - Additional detail about this exception.
InvalidAttributeValueException
public InvalidAttributeValueException()
- Constructs a new instance of InvalidAttributeValueException.
All Packages Class Hierarchy This Package Previous Next Index